package com.blacktry.service;

import com.blacktry.entity.blog.ArticleLabel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author blackTry
 * @since 2022-02-07
 */
public interface ArticleLabelService extends IService<ArticleLabel> {

//    插入记录

    public void insertArticleLable(ArticleLabel articleLabel);

    //根据artivleId查询出数据
    public List<ArticleLabel> selectArticleLabelByArticleId(Integer articleId);

    //根据id删除
    public int deleteArticleLabel(Integer articleId);

    //根据id查出姓名
    public String selectLableNameById(Integer lableId);

    //根据article 查询lableid
    public Integer[] selectLabelIdByArticleId(Integer articleId );
}
